<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title>{{ title }}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>

<body class="calibre">
    <h1 class="chapter">{{ title }}</h1>
    {% if sub_title %}
    <h2 class="chapter">{{ sub_title }}</h2>
    {% endif %} {% for line in lines %}
    <p class="chapter-p">{{ line|safe }}</p>{% endfor %}
</body>

</html>